package ooday05;

public class EnumDemo {
    public static void main(String[] args) {
        Season s =Season.SPRING;//获取四季对象
        System.out.println(s.getSeasonName()+","+s.getSeasonDesc());
        switch (s){
            case SPRING:
                System.out.println("天气"+s+"");
        }
    }
}
